package ar.com.mooral.pojo;

import ar.com.mooral.crohn.application.CrohnConstants;
import ar.com.mooral.crohn.application.CrohnContext;

public class PainPojo extends BasePojo {


	public String getName() {
		return "Dolor Abdominal - " + CrohnContext.getPainLevelName(get("nivel"));
	}

	public String getLevel() {
		return get("nivel");
	}
	
	public String setLevel(String level) {
		return put("nivel", level);
	}
	
	public String getDescription(){
		//return getObservations();
		return get("descripcion");
	}
	
	public String getObservations(){
		return getDescription();
	}
	
	public void setDescription(String description){
		//setObservations(description);
		put("descripcion", description);
	}
	
	public void setObservations(String description){
		setDescription(description);
	}
	

	@Override
	protected void initialize() {
		super.initialize();
		setDescription("");
	}
	
	
}
